<?php
class Asd_Form extends Zend_Form{

    public function init() {
        parent::init();
        
    }
    public function addElement($element, $name = null, $options = null) {
        parent::addElement($element, $name, $options);
        
        if (!isset($name) && $name == null){
            $name = $element->getName();
        }
        
        if (isset($this->_elements[$name])) {
            $this->_elements[$name]->removeDecorator('Label');
            $this->_elements[$name]->removeDecorator('HtmlTag');
            $this->_elements[$name]->removeDecorator('DtDdWrapper');
            $this->_elements[$name]->removeDecorator('Description');
            $this->_elements[$name]->setAttrib('placeholder', $this->_elements[$name]->getLabel());
        }
    }
}

